html,
body {
  width: 100%;
  height: 100%;
}
* {
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
}
body #content {
  width: 100%;
  flex: 1;
  overflow: scroll;
}
body #content #nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: auto;
  height: 44px;
  background: blue;
}
body #content #nav .dynamicStatement {
  width: 84px;
  height: 40px;
  line-height: 32px;
  margin-left: 10px;
  text-align: center;
  color: #4294ff;
  font-size: 20px;
  font-family: PingFangSC-bold;
  border-bottom: 3px solid #aad9f7;
}
body #content #nav .AddDynamic {
  width: 84px;
  height: 32px;
  line-height: 32px;
  margin-right: 10px;
  text-align: center;
  border-radius: 20px 20px 20px 20px;
  background-color: #aad9f7;
  color: #005177;
  font-size: 14px;
}
body #content #substance {
  width: 95%;
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: scroll;
}
body #content #substance .recommend {
  margin: 5px 0 10px 10px;
  width: 72px;
  height: 25px;
  color: #101010;
  font-size: 18px;
  text-align: left;
  font-family: PingFangSC-regular;
}
body #content #substance .chocolate {
  width: 100%;
  height: 210px;
  background: #f60;
  margin-bottom: 20px;
  border-radius: 15px;
  border: 1px solid #ccc;
  overflow: hidden;
}
body #content #substance .chocolate .vd {
  width: auto;
  height: 150px;
  background: url(../../assets/imgs/course-img04.jpg) no-repeat center;
  background-size: 100%;
}
body #content #substance .chocolate .chotext1 {
  margin-left: 20px;
  color: #101010;
  font-size: 16px;
  text-align: left;
  font-family: PingFangSC-regular;
}
body #content #substance .chocolate .chotext2 {
  margin: 5px 0 0 20px;
  font-size: 12px;
  color: #9a9a9a;
}
body #content #substance #user {
  width: 100%;
  height: 452px;
  display: flex;
  flex-direction: column;
  border-bottom: 10px solid #ccc;
}
body #content #substance #user .UserAvatar {
  display: flex;
  width: 100%;
  height: 60px;
}
body #content #substance #user .UserAvatar .ava {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #f60;
}
body #content #substance #user .UserAvatar .username {
  margin: 10px 0 0 15px;
}
body #content #substance #user .usertext {
  width: auto;
  height: 59px;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}
body #content #substance #user .picture {
  margin-top: 10px;
  width: 100%;
  height: 226px;
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
}
body #content #substance #user .picture div {
  width: 118px;
  height: 48%;
  background: #ccc;
}
body #content #PersonalData {
  position: relative;
  width: 100%;
  height: 200px;
  background: #fff;
}
body #content #PersonalData .avatar {
  position: absolute;
  left: 20px;
  top: 25px;
  width: 120px;
  height: 120px;
  background: url("../../assets/imgs/headerPic.jpg") no-repeat;
  background-size: 100%;
  border: 1px solid #4495ff;
  border-radius: 50%;
}
body #content #PersonalData .userName {
  position: absolute;
  left: 155px;
  top: 75px;
  width: 68px;
  height: 30px;
  color: #101010;
  font-size: 22px;
}
body #content #PersonalData .signature {
  position: absolute;
  left: 20px;
  top: 160px;
  width: 374px;
  height: 25px;
  color: #8a8a8a;
  font-size: 18px;
}
body #content #PersonalData .icon-chuangxiangbaiyinvip {
  position: absolute;
  left: 110px;
  top: 119px;
  font-size: 20px;
  color: #f60;
}
body #content #MotionData {
  position: relative;
  margin-top: 20px;
  width: 100%;
  height: 160px;
  background: #fff;
}
body #content #MotionData .MotionDatatitle {
  position: absolute;
  left: 54px;
  top: 20px;
  width: 74px;
  height: 25px;
  color: #101010;
  font-size: 18px;
}
body #content #MotionData .icon-shujutu {
  position: absolute;
  left: 23px;
  top: 15px;
  font-size: 28px;
  color: #549eff;
}
body #content #MotionData .icon-youjiantou1 {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 27px;
}
body #content #MotionData .motionData {
  position: absolute;
  left: 34px;
  bottom: 20px;
  width: 343px;
  height: 85px;
  display: flex;
  justify-content: space-between;
}
body #content #MotionData .motionData .motionDataleft {
  width: 156px;
  height: 85px;
}
body #content #MotionData .motionData .motionDataleft .motionDataleft-title {
  width: 48px;
  height: 22px;
  color: #8a8a8a;
  font-size: 16px;
}
body #content #MotionData .motionData .motionDataleft .motionDataleft-text {
  margin-top: 15px;
  width: 156px;
  height: 48px;
  line-height: 48px;
  color: #4294ff;
  font-size: 34px;
}
body #content #MotionData .motionData .motionDataright {
  width: 156px;
  height: 85px;
}
body #content #MotionData .motionData .motionDataright .motionDataright-title {
  width: 48px;
  height: 22px;
  color: #8a8a8a;
  font-size: 16px;
}
body #content #MotionData .motionData .motionDataright .motionDataright-text {
  margin-top: 15px;
  width: 156px;
  height: 48px;
  line-height: 48px;
  color: #4294ff;
  font-size: 34px;
}
body #content #SportsBadge {
  position: relative;
  margin-top: 20px;
  width: 100%;
  height: 180px;
  background: #fff;
}
body #content #SportsBadge .SportsBadgetitle {
  position: absolute;
  left: 50px;
  top: 20px;
  width: 112px;
  height: 25px;
  color: #101010;
  font-size: 18px;
}
body #content #SportsBadge .icon-huizhang {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 27px;
  color: #549eff;
}
body #content #SportsBadge .icon-youjiantou1 {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 27px;
}
body #content #SportsBadge .sportsBadge {
  position: absolute;
  top: 56px;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-around;
}
body #content #SportsBadge .sportsBadge .sportsBadgeleft {
  width: 100px;
  height: 100px;
  border: 1px solid #bbbbbb;
  border-radius: 50%;
  background: url("../../assets/imgs/mybadge01.jpg") no-repeat;
  background-size: 100%;
}
body #content #SportsBadge .sportsBadge .sportsBadgecenter {
  width: 100px;
  height: 100px;
  border: 1px solid #bbbbbb;
  border-radius: 50%;
  background: url("../../assets/imgs/mybadge02.jpg") no-repeat;
  background-size: 100%;
}
body #content #SportsBadge .sportsBadge .sportsBadgeright {
  width: 100px;
  height: 100px;
  border: 1px solid #bbbbbb;
  border-radius: 50%;
  background: url("../../assets/imgs/mybadge03.jpg") no-repeat;
  background-size: 100%;
}
body #content #SignOut {
  margin-top: 20px;
  width: 100%;
  height: 40px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
body #content #SignOut .SignOutbtn {
  width: 74px;
  height: 25px;
  color: #4294ff;
  font-size: 18px;
}
body #content #BottomNav {
  margin-top: 48px;
  width: 100%;
  height: 50px;
  background: #fff;
}
body .show {
  display: block;
}
body .active {
  color: skyblue;
}
body #header {
  width: 100%;
  height: 200px;
}
body #header .swiper {
  width: auto;
  height: 200px;
}
body #header .swiper img {
  width: 100%;
  height: 200px;
}
body #main {
  flex: 1;
  overflow: scroll;
}
body #main .content1 {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 150px;
  margin: auto;
  margin: 10px 0 10px 0;
}
body #main .content1 .rank {
  position: relative;
  width: 150px;
  height: 150px;
  background: rgba(7, 7, 241, 0.6);
  background-size: 50%;
  border-radius: 15px;
}
body #main .content1 .rank .dya {
  width: 100px;
  height: 30px;
  margin: 10px 0 0 25px;
  font-size: 14px;
  font-weight: 550;
}
body #main .content1 .rank .img {
  position: absolute;
  bottom: 20px;
  left: 5px;
  width: 100px;
  height: 100px;
  background: url(../../assets/imgs/index-card-rank.png) no-repeat;
  background-size: 100%;
  opacity: 0.3;
}
body #main .content1 .rank .num {
  width: 70px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 40px;
  font-weight: 550;
  color: #fff;
}
body #main .content1 .punch {
  position: relative;
  width: 150px;
  height: 150px;
  background: rgba(100, 100, 231, 0.6);
  background-size: 50%;
  border-radius: 15px;
}
body #main .content1 .punch .punchs {
  width: 100px;
  height: 30px;
  margin: 10px 0 0 25px;
  font-size: 14px;
  font-weight: 550;
}
body #main .content1 .punch .imgs {
  position: absolute;
  bottom: 20px;
  left: 5px;
  width: 100px;
  height: 100px;
  background: url(../../assets/imgs/index-card-sum.png) no-repeat;
  background-size: 100%;
  opacity: 0.3;
}
body #main .content1 .punch .Punchintoday {
  width: 100px;
  height: 40px;
  position: absolute;
  bottom: 30px;
  right: 10px;
  border-radius: 20px;
  text-align: center;
  line-height: 30px;
  border: 3px solid skyblue;
}
body .content2 {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 110px;
  margin: auto;
  margin: 20px 0 20px 0;
}
body .content2 .motionData {
  width: 180px;
  height: 110px;
  background: url(../../assets/imgs/index-card-data.png) no-repeat;
  background-size: 100%;
  border-radius: 15px;
}
body .content2 .motionData .sports {
  color: #fff;
  margin: 10px 0 0 10px;
}
body .content2 .sportsBadge {
  position: relative;
  width: 185px;
  height: 110px;
  background: rgba(66, 77, 243, 0.4);
  border-radius: 15px;
}
body .content2 .sportsBadge .badge {
  width: 100px;
  height: 25px;
  margin: 10px 0 0 10px;
  color: #005177;
  font-size: 16px;
}
body .content2 .sportsBadge .imgss {
  position: absolute;
  bottom: 0px;
  left: 5px;
  width: 100px;
  height: 100px;
  background: url(../../assets/imgs/index-card-badge.png) no-repeat;
  background-size: 100%;
  opacity: 0.3;
}
body .content2 .sportsBadge .nums {
  position: absolute;
  bottom: 10px;
  right: 30px;
  font-size: 80px;
  font-family: PingFangSC-bold;
  color: #004E73;
}
body .content2 .sportsBadge .mei {
  position: absolute;
  bottom: 20px;
  right: 10px;
  font-family: PingFangSC-bold;
  color: #004E73;
  font-size: 18px;
}
body .content3 {
  width: 95%;
  height: 110px;
  margin: auto;
  background: url(../../assets/imgs/index-swiper-bg2.jpg) no-repeat;
  background-size: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}
body .content3 div {
  color: #fff;
  margin: 10px 0 0 10px;
}
body .content4 {
  width: 95%;
  height: 110px;
  margin: auto;
  background: url(../../assets/imgs/index-card-run.png) no-repeat;
  background-size: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}
body .content4 div {
  color: #fff;
  margin: 10px 0 0 10px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-content: center;
  width: 100%;
  height: 77px;
}
footer .icon {
  width: 20%;
  text-align: center;
}
footer .iconfont {
  font-size: 30px;
}
footer div {
  font-size: 16px;
}
